<!DOCTYPE html>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>酷尔登录</title>
<script type="text/javascript" src="jquery-3.3.1.js"></script>
<script type="text/javascript">
	$(function(){
		$('#ok').click(function(){
			console.log("123");
			$.ajax({
				url:'../loginController/login',
				type:'get',
				data:{	userName:'18728194015',
						userPass:'000000',
						userType_id:'2'
					 },
				dataType:'text',
				success:function(data){
					alert(data);
				}
			});
		});
		
	})
</script>
</head>
<body>
	<div id="ok">123</div>
</body>
</html>